//
//  MeScrollViewController.m
//  XinKaiFa55like
//
//  Created by 55like on 22/09/2017.
//  Copyright © 2017 55like lj. All rights reserved.
//

#import "MeScrollViewController.h"
@interface MeScrollViewController ()
{
    
    UIScrollView*scrollView;
    
}

@end

@implementation MeScrollViewController
#pragma mark  开始
- (void)viewDidLoad {
    [super viewDidLoad];
    [self addView];
}
#pragma mark -  写UI
-(void)addView{
    scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, kTopHeight, kScreenWidth, kScreenHeight-kTopHeight)];
    [self.view addSubview:scrollView];
    
    
}
#pragma mark - 请求数据
-(void)loadDATA{
    krequestParam
    
    [NetEngine createPostAction:@"api" withParams:dictparam onCompletion:^(id resData, BOOL isCache) {
        if ([[resData getSafeObjWithkey:@"status"] isEqualToString:@"200"]) {
            NSDictionary *dic=[resData getSafeObjWithkey:@"data"];
            
            
            [SVProgressHUD showSuccessWithStatus:@"<#成功#>"];
            //            [self addView];
            
        }else{
            [SVProgressHUD showErrorWithStatus:[resData valueForJSONKey:@"info"]];
            
        }
    }];
    
}
#pragma mark - 事件监听


#pragma mark - 代理事件


@end
